package com.example.demo;

import org.springframework.util.StringUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: demo
 * @description: java泛型
 * @author: Mr.Wang
 * @create: 2019-06-29 10:45
 **/
public class Generic {

    public void  test(){
        String a = "https://dev-m-bucket.oss-cn-shanghai.aliyuncs.com/imgupload/%3F%3F%3F1.pdf";
        String substring = a.substring(a.lastIndexOf("."));
        System.out.println(substring);


    }

}
